﻿<%@ Page Title="Item History" Theme="POSSystem" Language="C#" MasterPageFile="~/EditPages/Popup.Master" AutoEventWireup="true" CodeBehind="ItemHitsViewer.aspx.cs" Inherits="WebUI.EditPages.ItemHitsViewer" %>

<%@ Register Src="~/Controls/POSControls/ItemHistoryListCtrl.ascx" TagName="ItemHistoryListCtrl" TagPrefix="uc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PopupHeadHolder" runat="server">
    <script type="text/javascript">
        function printClose() {
            //            document.getElementById('divToolBar').style.display = 'none';
            //            document.getElementById('divStatusBar').style.display = 'none';
            window.print();
            //window.close();
            return false;
        }
    </script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="PopupToolbarHolder" runat="server">
    <table class="popuptoolbar" width="100%">
        <tr>
            <td style="vertical-align: middle; text-align: left">
                <asp:Panel ID="panel" runat="server" DefaultButton="btnSearch" >
                <asp:LinkButton class="tbbutton" ID="btnPrint" runat="server" OnClientClick="return fprint();">
                    <img src="../Images/print.gif" /><asp:Label ID="label1" runat="server" Text="Print"></asp:Label>
                </asp:LinkButton>
                <img src="../Images/tbSep.png" />
                <asp:TextBox ID="txtSearch" runat="server"></asp:TextBox>
                <asp:LinkButton class="tbbutton" ID="btnSearch" runat="server" OnClick="btnSearch_OnClick">
                    <img src="../Images/search.png" /><asp:Label ID="label2" runat="server" Text="Search"></asp:Label>
                </asp:LinkButton>
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="PopupContentHolder" runat="server">
    <uc:ItemHistoryListCtrl ID="itemHistoryList" runat="server" AllowPaging="true" AllowSelecting="false" AllowSorting="true"
     PageSize="10" CssClass="" GridBorder="Solid" GridBorderColor="Black" GridLineStyle="Both" Width="100%"/>
</asp:Content>
